<style lang="scss">
	@import "./CSS/CSShake.css";
  @import './CSS/common.scss';
  @import './CSS/modia.scss';
</style>
<template>
		<router-view />
</template>

<script>
import { getStora } from '@/utils/storaOper'
export default {
  data() {
    return {
    }
  },
  async created() {
    try{
      const { token } = getStora('SRC-TOKEN')
      if(token) this.$store.commit('SET_TOKEN',token)
      await this.$store.dispatch('getInfo').catch(()=>{})
      const { uType } = this.$store.getters
      if( uType )
        await this.$store.dispatch('ht/LOAD_HTCPS').catch(()=>{})
    }catch(e){
      console.log("NO-TOKEN;;;")
    }
    await this.$store.dispatch('GET_ADVER').catch(()=>{})
  }
}

</script>

<style lang="scss">
</style>


